package com.lyl.serviceedu.mapper;

import com.lyl.serviceedu.entity.Course;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lyl.serviceedu.entity.vo.CourseApiVo;
import com.lyl.serviceedu.entity.vo.CoursePublishVo;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author 雷艳玲
 * @since 2022-06-11
 */
public interface CourseMapper extends BaseMapper<Course> {

    CoursePublishVo getPublishCourseInfo(Long id);

    // 前台展示课程详情页面
    CourseApiVo selectInfoWebById(Long courseId);
}
